{"ast":null,"code":"const genStepsProgressDotStyle = token => {\n  const {\n    componentCls,\n    descriptionWidth,\n    lineHeight,\n    stepsCurrentDotSize,\n    stepsDotSize,\n    motionDurationSlow\n  } = token;\n  return {\n    [`&${componentCls}-dot, &${componentCls}-dot${componentCls}-small`]: {\n      [`${componentCls}-item`]: {\n        '&-title': {\n          lineHeight\n        },\n        '&-tail': {\n          top: Math.floor((token.stepsDotSize - token.lineWidth * 3) / 2),\n          width: '100%',\n          marginTop: 0,\n          marginBottom: 0,\n          marginInline: `${descriptionWidth / 2}px 0`,\n          padding: 0,\n          '&::after': {\n            width: `calc(100% - ${token.marginSM * 2}px)`,\n            height: token.lineWidth * 3,\n            marginInlineStart: token.marginSM\n          }\n        },\n        '&-icon': {\n          width: stepsDotSize,\n          height: stepsDotSize,\n          marginInlineStart: (token.descriptionWidth - stepsDotSize) / 2,\n          paddingInlineEnd: 0,\n          lineHeight: `${stepsDotSize}px`,\n          background: 'transparent',\n          border: 0,\n          [`${componentCls}-icon-dot`]: {\n            position: 'relative',\n            float: 'left',\n            width: '100%',\n            height: '100%',\n            borderRadius: 100,\n            transition: `all ${motionDurationSlow}`,\n            /* expand hover area */\n            '&::after': {\n              position: 'absolute',\n              top: -token.marginSM,\n              insetInlineStart: (stepsDotSize - token.controlHeightLG * 1.5) / 2,\n              width: token.controlHeightLG * 1.5,\n              height: token.controlHeight,\n              background: 'transparent',\n              content: '\"\"'\n            }\n          }\n        },\n        '&-content': {\n          width: descriptionWidth\n        },\n        [`&-process ${componentCls}-item-icon`]: {\n          position: 'relative',\n          top: (stepsDotSize - stepsCurrentDotSize) / 2,\n          width: stepsCurrentDotSize,\n          height: stepsCurrentDotSize,\n          lineHeight: `${stepsCurrentDotSize}px`,\n          background: 'none',\n          marginInlineStart: (token.descriptionWidth - stepsCurrentDotSize) / 2\n        },\n        [`&-process ${componentCls}-icon`]: {\n          [`&:first-child ${componentCls}-icon-dot`]: {\n            insetInlineStart: 0\n          }\n        }\n      }\n    },\n    [`&${componentCls}-vertical${componentCls}-dot`]: {\n      [`${componentCls}-item-icon`]: {\n        marginTop: (token.controlHeight - stepsDotSize) / 2,\n        marginInlineStart: 0,\n        background: 'none'\n      },\n      [`${componentCls}-item-process ${componentCls}-item-icon`]: {\n        marginTop: (token.controlHeight - stepsCurrentDotSize) / 2,\n        top: 0,\n        insetInlineStart: (stepsDotSize - stepsCurrentDotSize) / 2,\n        marginInlineStart: 0\n      },\n      // https://github.com/ant-design/ant-design/issues/18354\n      [`${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n        top: (token.controlHeight - stepsDotSize) / 2,\n        insetInlineStart: 0,\n        margin: 0,\n        padding: `${stepsDotSize + token.paddingXS}px 0 ${token.paddingXS}px`,\n        '&::after': {\n          marginInlineStart: (stepsDotSize - token.lineWidth) / 2\n        }\n      },\n      [`&${componentCls}-small`]: {\n        [`${componentCls}-item-icon`]: {\n          marginTop: (token.controlHeightSM - stepsDotSize) / 2\n        },\n        [`${componentCls}-item-process ${componentCls}-item-icon`]: {\n          marginTop: (token.controlHeightSM - stepsCurrentDotSize) / 2\n        },\n        [`${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n          top: (token.controlHeightSM - stepsDotSize) / 2\n        }\n      },\n      [`${componentCls}-item:first-child ${componentCls}-icon-dot`]: {\n        insetInlineStart: 0\n      },\n      [`${componentCls}-item-content`]: {\n        width: 'inherit'\n      }\n    }\n  };\n};\nexport default genStepsProgressDotStyle;","map":{"version":3,"names":["genStepsProgressDotStyle","token","componentCls","descriptionWidth","lineHeight","stepsCurrentDotSize","stepsDotSize","motionDurationSlow","top","Math","floor","lineWidth","width","marginTop","marginBottom","marginInline","padding","marginSM","height","marginInlineStart","paddingInlineEnd","background","border","position","float","borderRadius","transition","insetInlineStart","controlHeightLG","controlHeight","content","margin","paddingXS","controlHeightSM"],"sources":["/data/messenger.client/node_modules/antd/es/steps/style/progress-dot.js"],"sourcesContent":["const genStepsProgressDotStyle = token => {\n  const {\n    componentCls,\n    descriptionWidth,\n    lineHeight,\n    stepsCurrentDotSize,\n    stepsDotSize,\n    motionDurationSlow\n  } = token;\n  return {\n    [`&${componentCls}-dot, &${componentCls}-dot${componentCls}-small`]: {\n      [`${componentCls}-item`]: {\n        '&-title': {\n          lineHeight\n        },\n        '&-tail': {\n          top: Math.floor((token.stepsDotSize - token.lineWidth * 3) / 2),\n          width: '100%',\n          marginTop: 0,\n          marginBottom: 0,\n          marginInline: `${descriptionWidth / 2}px 0`,\n          padding: 0,\n          '&::after': {\n            width: `calc(100% - ${token.marginSM * 2}px)`,\n            height: token.lineWidth * 3,\n            marginInlineStart: token.marginSM\n          }\n        },\n        '&-icon': {\n          width: stepsDotSize,\n          height: stepsDotSize,\n          marginInlineStart: (token.descriptionWidth - stepsDotSize) / 2,\n          paddingInlineEnd: 0,\n          lineHeight: `${stepsDotSize}px`,\n          background: 'transparent',\n          border: 0,\n          [`${componentCls}-icon-dot`]: {\n            position: 'relative',\n            float: 'left',\n            width: '100%',\n            height: '100%',\n            borderRadius: 100,\n            transition: `all ${motionDurationSlow}`,\n            /* expand hover area */\n            '&::after': {\n              position: 'absolute',\n              top: -token.marginSM,\n              insetInlineStart: (stepsDotSize - token.controlHeightLG * 1.5) / 2,\n              width: token.controlHeightLG * 1.5,\n              height: token.controlHeight,\n              background: 'transparent',\n              content: '\"\"'\n            }\n          }\n        },\n        '&-content': {\n          width: descriptionWidth\n        },\n        [`&-process ${componentCls}-item-icon`]: {\n          position: 'relative',\n          top: (stepsDotSize - stepsCurrentDotSize) / 2,\n          width: stepsCurrentDotSize,\n          height: stepsCurrentDotSize,\n          lineHeight: `${stepsCurrentDotSize}px`,\n          background: 'none',\n          marginInlineStart: (token.descriptionWidth - stepsCurrentDotSize) / 2\n        },\n        [`&-process ${componentCls}-icon`]: {\n          [`&:first-child ${componentCls}-icon-dot`]: {\n            insetInlineStart: 0\n          }\n        }\n      }\n    },\n    [`&${componentCls}-vertical${componentCls}-dot`]: {\n      [`${componentCls}-item-icon`]: {\n        marginTop: (token.controlHeight - stepsDotSize) / 2,\n        marginInlineStart: 0,\n        background: 'none'\n      },\n      [`${componentCls}-item-process ${componentCls}-item-icon`]: {\n        marginTop: (token.controlHeight - stepsCurrentDotSize) / 2,\n        top: 0,\n        insetInlineStart: (stepsDotSize - stepsCurrentDotSize) / 2,\n        marginInlineStart: 0\n      },\n      // https://github.com/ant-design/ant-design/issues/18354\n      [`${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n        top: (token.controlHeight - stepsDotSize) / 2,\n        insetInlineStart: 0,\n        margin: 0,\n        padding: `${stepsDotSize + token.paddingXS}px 0 ${token.paddingXS}px`,\n        '&::after': {\n          marginInlineStart: (stepsDotSize - token.lineWidth) / 2\n        }\n      },\n      [`&${componentCls}-small`]: {\n        [`${componentCls}-item-icon`]: {\n          marginTop: (token.controlHeightSM - stepsDotSize) / 2\n        },\n        [`${componentCls}-item-process ${componentCls}-item-icon`]: {\n          marginTop: (token.controlHeightSM - stepsCurrentDotSize) / 2\n        },\n        [`${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n          top: (token.controlHeightSM - stepsDotSize) / 2\n        }\n      },\n      [`${componentCls}-item:first-child ${componentCls}-icon-dot`]: {\n        insetInlineStart: 0\n      },\n      [`${componentCls}-item-content`]: {\n        width: 'inherit'\n      }\n    }\n  };\n};\nexport default genStepsProgressDotStyle;"],"mappings":"AAAA,MAAMA,wBAAwB,GAAGC,KAAK,IAAI;EACxC,MAAM;IACJC,YAAY;IACZC,gBAAgB;IAChBC,UAAU;IACVC,mBAAmB;IACnBC,YAAY;IACZC;EACF,CAAC,GAAGN,KAAK;EACT,OAAO;IACL,CAAE,IAAGC,YAAa,UAASA,YAAa,OAAMA,YAAa,QAAO,GAAG;MACnE,CAAE,GAAEA,YAAa,OAAM,GAAG;QACxB,SAAS,EAAE;UACTE;QACF,CAAC;QACD,QAAQ,EAAE;UACRI,GAAG,EAAEC,IAA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